<include file="Public:header_inc" />
<script type="text/javascript" language="javascript" src="{{$Think.config.siteJsPath}}/admin/menu.js"></script>
<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">
			<a href='/menu/'><em>菜单管理</em></a><span>|</span> <a
				href='javascript:;' class="on"><em>添加菜单</em></a>
		</div>
	</div>
	<form name="myform" id="myform" action="/menu/add/"
		onsubmit="return form_submit()" method="post">
		<div class="common-form">
			<table width="100%" class="table_form contentWrap">
				<tr>
					<th width="200">上级菜单：</th>
					<td><select name="parentid" style="width: 200px;">
							<option value="0">作为一级菜单</option> {{$select_categorys}}
					</select></td>
				</tr>
				<tr>
					<th>菜单名称：</th>
					<td><input type="text" name="name" id="name"
						class="input-text"></td>
				</tr>
				<tr>
					<th>功能地址：</th>
					<td><input type="text" name="controller" id="controller"
						class="input-text"></td>
				</tr>
				<tr>
					<th>附加参数：</th>
					<td><input type="text" name="data" class="input-text"></td>
				</tr>
				<tr>
					<th>是否显示菜单：</th>
					<td><input type="radio" name="display" value="1" checked>
						是 <input type="radio" name="display" value="0">否</td>
				</tr>
			</table>
			<!--table_form_off-->
		</div>
		<div class="bk15"></div>
		<div class="btn">
			<input type="submit" id="dosubmit" class="button" name="dosubmit"
				value="提 交" />
		</div>
	</form>
</body>

<include file="Public:footer" />